home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / programming / other / studio16add / scripts / makepermanent < prev    next >
AmigaDOS Script File  |  1997-12-01  |  668b  |  29 lines

  1. .key PATTERN/A
  2. .bra {
  3. .ket }
  4.  
  5. ; This script can make many files permanent based
  6. ; on pattern matching.
  7. ;
  8. ; $VER: MakePermanent 1.0 (12.11.97)
  9. ; By Kenneth "Kenny" Nilsen (kenny@bgnett.no)
  10. ;
  11. ; USAGE: MakePermanent <pattern>
  12. ;
  13. ; NOTE: The commands must be in the command search path. To be safe
  14. ; copy the commands in C: or add the path where you keep the commands to
  15. ; the global search path (startup-sequence: path <path> ADD).
  16.  
  17. list {PATTERN} files lformat="echo *"Processing file '%N'... please wait!*"*nS16MakePermanent %P%N" >t:tmp.16
  18.  
  19. ;-- convert files
  20.  
  21. echo "Making files permanent - please wait!"
  22.  
  23. execute t:tmp.16
  24. delete t:tmp.16 >nil:
  25.  
  26. echo "Done"
  27.  
  28. lab Final
  29.